package com.mentaleye.service;

import java.util.List;
import java.util.Map;

import com.mentaleye.bean.TimeTableBean;
import com.mentaleye.dal.model.TimeTableExample;

public interface TimeTableService {

	public boolean add(TimeTableBean timeTableBean);
	
	public boolean addList(List<TimeTableBean> list);
	
	public boolean removeByTime(Integer curriculumId,String beginTime,String endTime);
	
	public boolean removeById(Integer id);
	
	public boolean removeByTimeTableId(Integer timeTableId);
	
	public boolean removeList(List<Integer> values);

	public boolean removeByClassIdList(List<Integer> oaclassIds);
	
	public boolean removeByExample(TimeTableExample example);

	public boolean modify(TimeTableBean timeTableBean);

	public boolean modifyTeacherByMap(Map<String,Object> map);
	
	public boolean modifyByList(List<TimeTableBean> list);
	
	public boolean modifyByExample(TimeTableBean timeTableBean,TimeTableExample example);
	
	public TimeTableBean queryById(Integer id);
	
	public List<TimeTableBean> queryByClassId(int oaClassId);
	
	public List<TimeTableBean> queryByTimeTableId(Integer timeTableId);
	
	public List<TimeTableBean> queryByExample(TimeTableExample example);
	
	public List<TimeTableBean> queryByBeginTime(Integer timeTableId,String beginTime);
}
